/*
 *  Copyright 2020-2021 Huawei Technologies Co., Ltd.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

import enLocale from 'element-ui/lib/locale/lang/en'
const en = {
  nav: {
    logout: 'Logout',
    login: 'Login',
    userAccountCenter: 'My Account',
    atp: 'Application test platform',
    contributionMgmt: 'Contribution Management',
    hsInvalidHintForTimeout: 'You have not operated for a long time, ',
    hsInvalidHintForLogout: 'You have logged in or logged out through other pages, ',
    hsInvalidHintForServerStopped: 'The server has been upgraded, ',
    hsInvalidHint: 'the current session has expired. Please choose to refresh the page or log in again.',
    refresh: 'Refresh',
    reLogin: 'Login',
    accountInconsistent: 'Sorry! Maybe due to the browser\'s security policy, there is a problem that the cookie is blocked, resulting in the account being out of sync. Please clear the browser cookie cache and log in again.'
  },
  myApp: {
    checkTest: 'Check Test',
    testStatus: 'Test Status',
    startTime: 'Starting Time',
    reset: 'Reset',
    inquire: 'Inquire',
    version: 'Version',
    endTime: 'End Time',
    operation: 'Operation',
    taskNumber: 'Task Number',
    checkReport: 'Check Report',
    upload: 'Upload',
    appName: 'Application Name',
    status: 'Status',
    provider: 'Provider'
  },
  report: {
    testReport: 'EdgeGallery test certification report',
    downloadReport: 'Download Report',
    reportanalysis: 'Test report analysis',
    version: 'Version',
    packageName: 'Package Name',
    startTime: 'Starting Time',
    endTime: 'End Time',
    status: 'Status',
    detail: 'Details',
    ticketNumber: 'Mission ticket number',
    baseInfo: 'Basic Information',
    uploadUser: 'Upload User',
    failReason: 'Fail Reason',
    rate: 'Pass rate',
    model: 'Certification template',
    reportDetail: 'Test case details',
    number: 'Number',
    caseDistribution: 'Scenario use case distribution',
    successfulRate: 'Test case success rate'
  },
  promptMessage: {
    guestUser: 'The guest user has no right to operate. please log in first!',
    gettestcaseFail: 'Test case acquisition failed',
    resolveFail: 'Failed to resolve dependencies',
    creattaskFail: 'Failed to create test task',
    getprocessFail: 'Failed to get task progress',
    onlyCsar: 'Can only upload .csar files.',
    packageSizeLimit: 'no more than 10M',
    getTaskListFail: 'Failed to get test task.',
    contrastTime: 'The submission time cannot be earlier than the test end time!',
    confirmLogout: 'Are you sure to log out?',
    prompt: 'Prompt',
    browserAdvise: 'For sure some functions work well, please use Chrome',
    downloadSuccess: 'Download Success',
    downloadFail: 'Download Fail',
    deletePrompt: 'Do you want to continue deleting this test case?',
    deleteSuitePrompt: 'Do you want to continue deleting this test suite？',
    deleteSenarioPrompt: 'Do you want to continue deleting this test scenario?',
    onlyOneFile: 'Only one file is allowed, please remove the file first!',
    deleteSuccess: 'Delete Success',
    deleteFail: 'Delete Fail',
    runFailed: 'Run Failed',
    getSceneFail: 'Failed to get scenario',
    addFail: 'Add failed',
    addSuccess: 'Add successful',
    modifySuccess: 'Successfully modified',
    modifyFail: 'Fail to modify',
    patternWrong: 'config param pattern wrong,each param must split by ; and key value must split by =',
    submitSuccess: 'Submitted successfully',
    manualTip: 'There are also manual use cases, which need to be completed manually by the administrator',
    noCase: 'There is no use case for this scenario',
    cannotDeleteSuite: 'This test suite is used by some test cases, can not be deleted.',
    cannotDeleteScenario: 'This scenario is used by some test suites, so can not be delete.',
    selectIcon: 'Please select an icon',
    nameEmpty: 'Name is required!',
    objectiveEmpty: 'Purpose cannot be empty!!',
    typeEmpty: 'Type cannot be empty!',
    descriptionEmpty: 'Description cannot be empty!',
    configEmpty: 'Parameter cannot be empty!',
    expectResultEmpty: 'Expected result cannot be empty!',
    testStepEmpty: 'Step cannot be empty!',
    testSuiteEmpty: 'Test suite cannot be empty!',
    fileEmpty: 'File cannot be empty!',
    languageEmpty: 'Language cannot be empty!',
    configIdEmpty: 'Please select a configuration item!',
    nameLength: '1-16 digits in length',
    deleteContrubuteCase: ' Do you want to continue to delete the contribution use case?',
    deleteconfig: 'Whether to continue to delete this configuration item?',
    confirmdeleteTask: 'Do you want to continue deleting the test task?',
    moreThan2: 'Can only upload no more than 2MB!',
    uploadSuc: 'Upload Succcess',
    configUsed: 'Config is used by test case. can not be deleted.',
    configNameEn: 'Please enter a English name with a length of 1-64, and the beginning cannot be empty',
    configDescEn: 'Please enter a English description with a length of 1-255, and the beginning cannot be empty'
  },
  common: {
    cancel: 'Cancel',
    confirm: 'Confirm',
    delete: 'Delete',
    search: 'Search',
    modify: 'Modify',
    close: 'Close'
  },
  atp: {
    success: 'Success',
    failed: 'Failed',
    dependencyDetail: 'Dependency Details',
    versionDependency: 'Version Dependency',
    testTask: 'Test Task Description',
    testItems: 'Test Items',
    caseNumber: 'Number of Use Cases',
    cancel: 'Cancel',
    confirm: 'Confirm',
    returnList: 'Return to Task List',
    security: 'Security',
    complianceTest: 'Compliance Test',
    sandboxTest: 'Sandbox Test',
    review: 'Review',
    testCase: 'Test Case',
    startTest: 'Start',
    result: 'Test Result',
    caseName: 'CaseName',
    caseDetail: 'CaseDetail',
    testReport: 'Test Report',
    detail: 'Detail',
    version: 'Version',
    packageName: 'Package Name',
    startTime: 'Starting Time',
    endTime: 'End Time',
    status: 'Status',
    ticketNumber: 'Mission Ticket Number',
    baseInfo: 'Basic Information',
    uploadUser: 'Upload User',
    testCaseManagement: 'Test Case Management',
    fileSize: 'File Size',
    applicationName: 'Application Name',
    appPackage: 'App Package',
    uploadApp: 'Upload App',
    onlyCsar: 'Can Only Upload .csar Files.',
    packageSizeLimit: 'No More than 10M',
    taskManage: 'Task Management'
  },
  testCase: {
    createTime: 'createTime',
    management: 'Testcase Management',
    caseName: 'Testcase Name',
    caseType: 'Testcase Type',
    casePurpose: 'Purpose',
    step: 'Test Steps',
    type: 'Type',
    expectedResult: 'Result',
    language: 'Language',
    verificationModel: 'Testcase Model',
    operation: 'Operation',
    delete: 'Delete',
    edit: 'Modify',
    add: 'Add',
    model: 'Model',
    standard: 'Community Standards',
    addCase: 'Add Case',
    editCase: 'Edit Case',
    import: 'Case Import',
    sample: 'Sample Download',
    description: 'Description',
    testSuiteList: 'Test Suite',
    nameCn: 'Chinese Name',
    nameEn: 'English Name',
    descriptionCn: 'Chinese Description',
    descriptionEn: 'English Description',
    expecteCn: 'Chinese Expected',
    expecteEn: 'English Expected',
    stepCn: 'Chinese Steps',
    stepEn: 'English Steps',
    applicationTestPlatform: 'Application Test Platform',
    testSuiteManagement: 'Test Suite Management',
    testSuiteCn: 'Test Suite Chinese Name',
    testSuiteEn: 'Test Suite English Name',
    testSuiteDescriptionCn: 'Test Suite Chinese Description',
    testSuiteDescriptionEn: 'Test Suite English Description',
    testScenarioManagement: 'Test Scenarios Management',
    testScenarioCn: 'Test Scenario Chinese Name',
    testScenarioEn: 'Test Scenario English Name',
    testScenarioDescriptionCn: 'Test Scenario Chinese Description',
    testScenarioDescriptionEn: 'Test Scenario English Description',
    testScenarioIcon: 'Test Scenario Icon',
    testScenarioLabel: 'Test Scenario Label',
    selectTestScenario: 'Select Label',
    addTestSuite: 'Add Test Suite',
    editTestSuite: 'Modify Test Suite',
    addTestScenario: 'Add Test Scenario',
    editTestScenario: 'Modify Test Scenario',
    provideNameCn: 'Please provide Chinese name',
    provideDescriptionCn: 'Please provide Chinese description',
    provideTestScenario: 'Please select Test Scenarios',
    provideTestSuite: 'Please select Test Suites',
    provideTestType: 'Please select Test Type',
    provideNameSearch: 'Please enter a name to search',
    testScenarioIntro: 'The test scenario is the largest set of units tested. Is a collection of test suites.',
    testSuiteIntro: 'Is a collection of related test cases. A test suite can belong to one or more test scenarios, and a test suite can contain multiple test cases.',
    testCaseIntro: 'The test case is the smallest execution unit of the test.',
    pleaseInput: 'Please Input',
    download: 'Download'

  },
  home: {
    bannerTitle: 'Application Testing and Certification Platform',
    bannerText1: 'Multiple Enterprise Standard Use Case Sets Adaption',
    bannerText2: 'Low Threshold Test Case Creation',
    bannerText3: 'Visualized Test Process',
    staReport: 'Statistical Report',
    totalNum: 'Total Number of Scans',
    chartTitle: 'Number of scans in the past six months',
    getFail: 'Failed to Get Data',
    Statistics: 'Statistics',
    modelManagement: 'Model management',
    viewList: 'View List',
    importTitle: 'Support batch import',
    importIntro: 'According to the sample, you can import it with one click after writing',
    taskIntro: 'All test tasks are clearly saved in task management. Convenient to view tasks, understand progress, view reports, etc. Make your management easier.',
    contributionIntro: 'Only for administrators. Test cases and scripts contributed by users are displayed in the contribution management list. Enter the list to view the detailed content and download the contributed use cases.',
    configMgmt: 'Configuration Management',
    addConfig: 'Add Configuration',
    modifyConfig: 'Modify Configuration',
    configName: 'Configuration name',
    configId: 'Configuration ID',
    configParam: 'Configuration Parameter',
    configDesc: 'Description',
    configuration: 'Configuration'
  },
  process: {
    modifyStatus: 'Modify Case Status'
  },
  Scenes: {
    name: 'Name'
  },
  userpage: {
    selectScene: 'Select Scenario',
    contribution: 'Testcase Contribution',
    seeDetail: 'Detail',
    selectTestScene: 'Select Scene',
    caseDetail: 'Testcase Detail',
    name: 'Name',
    status: 'Status',
    type: 'Type',
    description: 'Description',
    score: 'Score',
    result: 'Result',
    find: '',
    issue: 'Issues were found in all scenarios',
    hover: 'Successful / Total',
    clickContribution: 'Click to contribute use case',
    choose: 'Please choose',
    failReason: 'Reasons for failure',
    clickDownloadCase: 'Click to Download the Case',
    contentTip: 'The use case script is packaged into a zip package format and uploaded',
    uploadReport: 'Upload self-test report',
    platformReport: 'Platform test report',
    applicationReport: 'Application self-test report',
    pageNum: 'Page Number',
    waitManual: 'Wait for the manual case to complete',
    selftestUpload: 'Self-test report upload',
    haveReport: 'If you have a self-test report, you can upload the report here',
    pdfFormat: '(The report file must be in pdf format)',
    later: 'Tell you later',
    uploadNow: 'Upload Now'
  },
  modelmgmt: {
    name: 'Name:',
    description: 'Description:',
    scene: 'Scenario:',
    import: 'Batch Import',
    importCase: 'Import test cases',
    text: 'Text',
    script: 'Script'
  },
  footer: {
    about: 'About',
    website: 'Official website',
    videoResource: 'Video',
    trainingMaterials: 'Training material',
    communication: 'Communication',
    softwareDownload: 'Software Download',
    community: 'Community',
    project: 'Project',
    membership: 'Membership',
    contactUs: 'Contact Us',
    followUs: 'Follow Us',
    WeChatPublic: 'WeChat public account',
    codeWarehouse: 'Code warehouse',
    followWeibo: 'Follow the Weibo',
    mailingList: 'Mailing list',
    copyright: 'Copyright © EdgeGallery 2019 - 2021. All rights reserved. For details, see the Legal Statement',
    legalNotice: 'Legal Notice',
    privacyPolicy: 'Privacy Policy',
    containerResource: 'Resource',
    developer: 'Developer',
    docs: 'Docs'
  },
  about: {
  },
  ...enLocale
}
export default en
